<script language="javascript" type="text/javascript">
{literal}
function submitbutton(pressbutton) {
  	if (pressbutton == "cancel") {
  		submitform( pressbutton );
  		return;
	}
	// do field validation
	submitform( pressbutton );
}
{/literal}
</script>

<form name="adminForm" action="index.php?option={$option}" method="POST">
<input type="hidden" name="task" value=""/>
<input type="hidden" name="id" value="{$details->getHotel_ID()}"/>
<div style="width: 400px">
<table class="adminform">
<tr class="row1" valign="top">
  <td align="center" width="30%">Hotel name</td>
  <td><div style="padding-right: 10px"><input type="text" name="name" value="{$details->getname()}" style="width: 100%;"/></div></td>
</tr>
<tr class="row0" valign="top">
  <td align="center" width="30%">Alias </td>
  <td><div style="padding-right: 10px"><input type="text" name="alias" value="{$details->getalias()}" style="width: 100%;"/></div></td>
</tr>
<tr class="row1" valign="top">
  <td align="center" width="30%">Hotel description</td>
  <td><div style="padding-right: 10px"><textarea name="desc" rows="5" cols="40" style="width: 100%">{$details->getdescription()}</textarea></div></td>
</tr>
</table>
</div>
</form>